package com.ruoyi.ai.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型配置业务对象 wx_model_config
 *
 * @author yh
 * @date 2024-05-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class WxModelConfigBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 厂商
     */
    @NotBlank(message = "厂商不能为空", groups = { AddGroup.class })
    private String mfg;

    /**
     * 模型类型
     */
    @NotBlank(message = "模型类型不能为空", groups = { AddGroup.class})
    private String modelType;

    private String appid;

    /**
     * apiKey
     */
    @NotBlank(message = "apiKey不能为空", groups = { AddGroup.class })
    private String apiKey;

    /**
     * secretKey
     */
    private String secretKey;

    /**
     * 回答最大token数
     */
    private Integer maxTokens;

    /**
     * 是否启用
     */
    private Integer enable;

    /**
     * 是否深度思考
     */
    private Integer isDeepseek;

    /**
     * 是否输出思考过程
     */
    private Integer isOutThink;


}
